import com.jzt.wotu.groovy.jdbc.Dao
import com.jzt.wotu.mvc.Model
import com.yvan.exmaple.MyService
import org.springframework.beans.factory.annotation.Autowired

public class Biz {
    static def query1() {
        def ret = Dao.selectListAny("Demo1.loadAllBranch")
        return Model.newSuccess(ret)
    }

    static def save(param, @Autowired MyService myService) {
        def serviceResult = myService.ii()
        serviceResult.clientProp = param.a
        return Model.newSuccess(serviceResult)
    }
}